package com.kai.steering.data.service.service;

import com.kai.steering.common.web.service.BaseService;
import com.kai.steering.data.service.entity.domainObject.RoleDO;
import com.kai.steering.data.service.entity.po.Role;
import com.kai.steering.data.service.entity.po.UserQuestion;

import java.util.List;

public interface RoleService extends BaseService<Role> {
    RoleDO getRoleById(String id, boolean existencePermission);
    List<RoleDO> getRoleByUser(String userId,boolean existencePermission);
}
